﻿using System;
using Jayden.Dll.Web.Enums;
using Jayden.Dll.Web.HtmlControls.Descriptions;
using Jayden.Dll.Web.HtmlControls.Generics;

namespace Jayden.Dll.Web.HtmlControls
{
	public class Header : HtmlElement
	{
		public Header() : base(HeaderDescription.Instance) { }
	}
	public class HeaderDescription : HtmlElementDescription
	{
		public static readonly HeaderDescription Instance = new HeaderDescription();
		private HeaderDescription() : base("header", HtmlVersion.Html5) { }
		public override Type ControlType { get { return typeof(Header); } }
		public override bool IsFlowElement { get { return true; } }
		public override string Description { get { return "header of a section."; } }
	}
}
